package com.hongdee.crm.remindClose.service;

import com.hongdee.crm.remindClose.entity.TCrmCarRemindClose;

import java.util.List;
import java.util.Map;

/**
 * 名  称:ITCrmCarRemindCloseService
 * 类  型:class
 * 描  述:
 * 路  径:com.hongdee.crm.remindClose.service
 * 作  者: 术洪超
 * 日  期:2017-03-21 09:41
 */
public interface ITCrmCarRemindCloseService {

 /**
     * @param uid 登录用户 ID
     * @param start  起始记录
     * @param limit  页面大小
     * @param plateNum 车牌号
  *
     * @return Map
     * @throws Exception
     * @desc 通过 JDBCDao分页查询
     * @author 术洪超
     */
    public Map closePage(String start, String limit, String uid, String plateNum, String vin,String carId,String pcode,String code) throws Exception;


    /**
     * @param uid      登录用户 ID
     * @param start    起始记录
     * @param limit    页面大小
     * @param plateNum 车牌号
     * @param vin      车架号
     * @return Map
     * @throws Exception
     * @desc 通过 JDBCDao分页查询
     * @author 术洪超
     */
    public Map carPage(String start, String limit, String uid, String plateNum, String vin,String typePcode,String typeCode) throws Exception;

    /**
     * @param uid   登录用户 ID
     * @param data  要保存的关闭提醒实体
     * @return
     * @throws Exception
     * @desc
     * @author 术洪超
     */

    public TCrmCarRemindClose save(TCrmCarRemindClose data, String uid) throws Exception;

   /**
    * 自定义关闭提醒用户信息
    * @param pcode
    * @param code
    * @param uid
    * @param remindCloses
    * @throws Exception
    */
    public void saveRemindCloseByTaskType(String pcode, String code, String uid,List<TCrmCarRemindClose> remindCloses) throws Exception;
    /**
     * @param uid   登录用户 ID
     * @param id    要删除的提醒实体主键
     * @return
     * @throws Exception
     * @desc ResultEntity
     * @author 术洪超
     */

    public void del(String id, String uid,String carId) throws Exception;


}
